-- GENERATED SPELL FOR [Servant of Arkkoroc] --


function spell0_6143(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_6143', 571, 1)
end

function Sorts_6143(pUnit, Event)
local choix_sorts_6143 = math.random(0, 0)
if choix_sorts_6143 == 0 then
pUnit:RegisterEvent('spell0_6143', 1, 1)
end
end

function mob6143_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6143', math.random(1500, 3000), 1)
end

function mob6143_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6143_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6143_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6143, 1, 'mob6143_Action')
RegisterUnitEvent(6143, 2, 'mob6143_Leave')
RegisterUnitEvent(6143, 3, 'mob6143_Kill')
RegisterUnitEvent(6143, 4, 'mob6143_Die')
